<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>Title</title>
    <style>
      body{
        font-family: "微软雅黑";
        background: url("img/1.jpg") no-repeat;
        background-attachment: fixed;
        background-size: cover;
        color: white;
        text-align: center;
      }

      .box{
        position: absolute;
        top:50%;
        margin-top: -200px;
        left: 50%;
        margin-left: -200px;
        border:1px solid black;
        width: 400px;
        height: 400px;
        background-color: #00000068;
        border-radius: 10px;
        box-shadow: 10px 10px 10px 10px rgba(0,0,0, .3);
      }
      .but{
        width: 40%;
        background-image: linear-gradient(120deg,#f6d365 0%,#fda085 100%);
        border-radius: 40px;
        border: 0px;
        font-size: 20px;
        color: white;
      }
      .but:hover{
        background-image:linear-gradient(to right,#b4731d 0%,#f16943 100%);
      }
      .box1{
        margin-top: 50px;
      }
      .box2{
        margin-top: 25px;
      }
      .box3{
        margin-top: 25px;
      }
      .box4{
        margin-top: 50px;
      }
      a{
        text-decoration: none;
      }
      .form-control{
        background-color: rgba(255,255,255,0);
        width: 60%;
        border: 0px;
        border-bottom: 2px solid silver;
        outline: none;
        color: white;
      }
    </style>
  </head>
  <body>

  <div class="box">
    <form action="/project1_war/mainUserModifyServlet" method="post" >
      <h1>修改账户密码</h1>
        <div class="box1">
          请输入您的原账户名:<input type="text" name="mainuserNameBefore" class="form-control"   required="true">
        </div>
      <div class="box2">
        请输入您的新账户名:<input type="text" name="mainuserNameAfter" class="form-control"  required="true">
      </div>
      <div class="box3">
        请输入您的新密码:<input type="password" name="mainuserPasswordAfter" class="form-control"  required="true">
      </div>
      <div class="box4">
        <input type="submit" value="确认修改" class="but">
        <a href="/project1_war/MainUserPage.jsp"><input type="button" value="返回" class="but"></a>
      </div>
    </form>

  </div>

  </body>
</html>
